.class public Limoblife/yogamoment/lite/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"


# static fields
#the value of this static final field might be set in the static constructor
.field static final synthetic $assertionsDisabled:Z = false

.field static final PLAYE_MODE_REPEAT_LIST:I = 0x2

.field static final PLAYE_MODE_REPEAT_TRACK:I = 0x1

.field static final PLAYE_MODE_SINGLE:I = 0x0

.field static final PLAY_MODE_DEFAULT:I = 0x3

.field static final PLAY_MODE_RANDOM:I = 0x4


# instance fields
.field appRunningTime:J

.field backgrounds:[I

.field bigString:[Ljava/lang/String;

.field currentBackgroundIndex:I

.field currentImageView:Landroid/widget/ImageView;

.field currentMediaPlayer:Landroid/media/MediaPlayer;

.field currentMusicIndex:I

.field downInAnimation:Landroid/view/animation/TranslateAnimation;

.field downOutAnimation:Landroid/view/animation/TranslateAnimation;

.field downView:Landroid/view/View;

.field dutations:[I

.field flipper:Landroid/widget/ViewFlipper;

.field handler:Landroid/os/Handler;

.field homePlayBox:Landroid/widget/CheckBox;

.field i:I

.field final images:[I

.field final is:[[I

.field isDetermine:Z

.field isDisplayWindows:Z

.field isEnbleCicker:Z

.field isSetTime:Z

.field issyc:Z

.field istouch:Z

.field j:I

.field leftTextView:Landroid/widget/TextView;

.field modeNames:[I

.field modeStateTextView:Landroid/widget/TextView;

.field musicItemRelativeLayouts:[Landroid/widget/RelativeLayout;

.field musicListBoxCheckBoxs:[Landroid/widget/CheckBox;

.field musicPross:Landroid/widget/SeekBar;

.field nextFrameButton:Landroid/widget/Button;

.field nextImageView:Landroid/widget/ImageView;

.field playAnimation:I

.field playControl:Limoblife/yogamoment/lite/PlayControl;

.field playMode:I

.field prevFrameButton:Landroid/widget/Button;

.field prevImageView:Landroid/widget/ImageView;

.field prevSystemTime:J

.field random:Ljava/util/Random;

.field rightTextView:Landroid/widget/TextView;

.field smallString:[Ljava/lang/String;

.field temp:I

.field timer:Ljava/util/Timer;

.field titleTextView:Landroid/widget/TextView;

.field touchListener:Landroid/view/View$OnTouchListener;

.field upInAnimation:Landroid/view/animation/TranslateAnimation;

.field upOutAnimation:Landroid/view/animation/TranslateAnimation;

.field upView:Landroid/view/View;

.field updateMusicProssTimer:Ljava/util/Timer;

.field updateProgessHandler:Landroid/os/Handler;

.field uriStrings:[Ljava/lang/String;

.field volumSizes:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 64
    const-class v0, Limoblife/yogamoment/lite/MainActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    sput-boolean v0, Limoblife/yogamoment/lite/MainActivity;->$assertionsDisabled:Z

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public constructor <init>()V
    .locals 6

    .prologue
    const/16 v5, 0xc

    const/4 v4, 0x5

    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 64
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 95
    iput-boolean v3, p0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    .line 96
    const/16 v0, 0x50

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->volumSizes:I

    .line 193
    iput v2, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    .line 194
    const/4 v0, 0x2

    new-array v0, v0, [[I

    .line 195
    new-array v1, v4, [I

    fill-array-data v1, :array_0

    .line 196
    aput-object v1, v0, v2

    .line 197
    new-array v1, v4, [I

    fill-array-data v1, :array_1

    .line 199
    aput-object v1, v0, v3

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->is:[[I

    .line 366
    const-wide/32 v0, 0x493e0

    iput-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    .line 368
    iput-boolean v3, p0, Limoblife/yogamoment/lite/MainActivity;->isSetTime:Z

    .line 599
    new-array v0, v5, [Landroid/widget/RelativeLayout;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicItemRelativeLayouts:[Landroid/widget/RelativeLayout;

    .line 611
    new-array v0, v5, [I

    fill-array-data v0, :array_2

    .line 615
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    .line 616
    new-array v0, v4, [I

    fill-array-data v0, :array_3

    .line 617
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->modeNames:[I

    .line 665
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevSystemTime:J

    .line 667
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$1;

    invoke-direct {v0, p0}, Limoblife/yogamoment/lite/MainActivity$1;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->touchListener:Landroid/view/View$OnTouchListener;

    .line 775
    iput v2, p0, Limoblife/yogamoment/lite/MainActivity;->temp:I

    .line 777
    new-instance v0, Ljava/util/Random;

    invoke-direct {v0}, Ljava/util/Random;-><init>()V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->random:Ljava/util/Random;

    .line 861
    new-array v0, v5, [Landroid/widget/CheckBox;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicListBoxCheckBoxs:[Landroid/widget/CheckBox;

    .line 863
    iput v2, p0, Limoblife/yogamoment/lite/MainActivity;->j:I

    .line 865
    iput-boolean v2, p0, Limoblife/yogamoment/lite/MainActivity;->issyc:Z

    .line 867
    iput-boolean v3, p0, Limoblife/yogamoment/lite/MainActivity;->isEnbleCicker:Z

    .line 1199
    iput-boolean v2, p0, Limoblife/yogamoment/lite/MainActivity;->istouch:Z

    .line 1201
    const/4 v0, 0x3

    new-array v0, v0, [I

    fill-array-data v0, :array_4

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->dutations:[I

    .line 1347
    const/4 v0, 0x4

    new-array v0, v0, [I

    fill-array-data v0, :array_5

    .line 1349
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->images:[I

    .line 1512
    iput-boolean v3, p0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    .line 64
    return-void

    .line 195
    nop

    :array_0
    .array-data 0x4
        0x4ct 0x0t 0x2t 0x7ft
        0x43t 0x0t 0x2t 0x7ft
        0x45t 0x0t 0x2t 0x7ft
        0x3at 0x0t 0x2t 0x7ft
        0x40t 0x0t 0x2t 0x7ft
    .end array-data

    .line 197
    :array_1
    .array-data 0x4
        0x4dt 0x0t 0x2t 0x7ft
        0x44t 0x0t 0x2t 0x7ft
        0x42t 0x0t 0x2t 0x7ft
        0x11t 0x0t 0x2t 0x7ft
        0x41t 0x0t 0x2t 0x7ft
    .end array-data

    .line 611
    :array_2
    .array-data 0x4
        0x18t 0x0t 0x2t 0x7ft
        0x19t 0x0t 0x2t 0x7ft
        0x1ct 0x0t 0x2t 0x7ft
        0x1dt 0x0t 0x2t 0x7ft
        0x1et 0x0t 0x2t 0x7ft
        0x1ft 0x0t 0x2t 0x7ft
        0x20t 0x0t 0x2t 0x7ft
        0x21t 0x0t 0x2t 0x7ft
        0x22t 0x0t 0x2t 0x7ft
        0x23t 0x0t 0x2t 0x7ft
        0x1at 0x0t 0x2t 0x7ft
        0x1bt 0x0t 0x2t 0x7ft
    .end array-data

    .line 616
    :array_3
    .array-data 0x4
        0x12t 0x0t 0x5t 0x7ft
        0x13t 0x0t 0x5t 0x7ft
        0x14t 0x0t 0x5t 0x7ft
        0x15t 0x0t 0x5t 0x7ft
        0x16t 0x0t 0x5t 0x7ft
    .end array-data

    .line 1201
    :array_4
    .array-data 0x4
        0x5t 0x0t 0x0t 0x0t
        0xat 0x0t 0x0t 0x0t
        0xft 0x0t 0x0t 0x0t
    .end array-data

    .line 1347
    :array_5
    .array-data 0x4
        0x53t 0x0t 0x2t 0x7ft
        0x7t 0x0t 0x2t 0x7ft
        0x4et 0x0t 0x2t 0x7ft
        0x4ft 0x0t 0x2t 0x7ft
    .end array-data
.end method

.method static synthetic access$0(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 736
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showDefaultPrevView()V

    return-void
.end method

.method static synthetic access$1(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 697
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showDefaultNextView()V

    return-void
.end method

.method static synthetic access$10(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 718
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showNextView()V

    return-void
.end method

.method static synthetic access$11(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 756
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showPrvView()V

    return-void
.end method

.method static synthetic access$12(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 788
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showFadeInOut()V

    return-void
.end method

.method static synthetic access$2(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1357
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showAppListWindows()V

    return-void
.end method

.method static synthetic access$3(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 201
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showModeListWindows()V

    return-void
.end method

.method static synthetic access$4(Limoblife/yogamoment/lite/MainActivity;J)Ljava/lang/String;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 387
    invoke-direct {p0, p1, p2}, Limoblife/yogamoment/lite/MainActivity;->getTime(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$5(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1120
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->distroy()V

    return-void
.end method

.method static synthetic access$6(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 443
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showTimeWindows()V

    return-void
.end method

.method static synthetic access$7(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method static synthetic access$8(Limoblife/yogamoment/lite/MainActivity;I)Ljava/lang/String;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 411
    invoke-direct {p0, p1}, Limoblife/yogamoment/lite/MainActivity;->getPlayTime(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$9(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1525
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->closeUpAndDownWindowa()V

    return-void
.end method

.method private closeUpAndDownWindowa()V
    .locals 2

    .prologue
    const/4 v0, 0x0

    .line 1527
    iput-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    .line 1529
    iput-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    .line 1530
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    if-nez v0, :cond_0

    .line 1531
    const v0, 0x7f080013

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    .line 1532
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initeWindowsAnimation()V

    .line 1534
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    if-nez v0, :cond_1

    .line 1535
    const v0, 0x7f08000d

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    .line 1537
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->upOutAnimation:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1538
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->downOutAnimation:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1539
    return-void
.end method

.method private distroy()V
    .locals 1

    .prologue
    .line 1122
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->saveDate()V

    .line 1123
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->timer:Ljava/util/Timer;

    if-eqz v0, :cond_0

    .line 1124
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->timer:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    .line 1126
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateMusicProssTimer:Ljava/util/Timer;

    if-eqz v0, :cond_1

    .line 1127
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateMusicProssTimer:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    .line 1129
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    invoke-virtual {v0}, Limoblife/yogamoment/lite/PlayControl;->release()V

    .line 1130
    #calls: Landroid/app/Activity;->finish()V
    invoke-static {p0}, Limoblife/yogamoment/lite/MainActivity;->access$7(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1131
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-static {v0}, Landroid/os/Process;->killProcess(I)V

    .line 1132
    invoke-static {}, Ljava/lang/System;->gc()V

    .line 1133
    return-void
.end method

.method private getMin(J)J
    .locals 4
    .parameter "time"

    .prologue
    .line 432
    const-wide/32 v2, 0x36ee80

    rem-long v0, p1, v2

    .line 433
    .local v0, tpm:J
    const-wide/32 v2, 0xea60

    div-long v2, v0, v2

    return-wide v2
.end method

.method private getNextBackground()I
    .locals 2

    .prologue
    .line 780
    :goto_0
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->temp:I

    iget v1, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    if-eq v0, v1, :cond_0

    .line 784
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->temp:I

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    .line 785
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    return v0

    .line 781
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->random:Ljava/util/Random;

    invoke-virtual {v0}, Ljava/util/Random;->nextInt()I

    move-result v0

    ushr-int/lit8 v0, v0, 0x1

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    array-length v1, v1

    rem-int/2addr v0, v1

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->temp:I

    goto :goto_0
.end method

.method private getPlayTime(I)Ljava/lang/String;
    .locals 7
    .parameter "time"

    .prologue
    .line 413
    int-to-long v5, p1

    invoke-direct {p0, v5, v6}, Limoblife/yogamoment/lite/MainActivity;->getSec(J)J

    move-result-wide v2

    .line 414
    .local v2, s:J
    int-to-long v5, p1

    invoke-direct {p0, v5, v6}, Limoblife/yogamoment/lite/MainActivity;->getMin(J)J

    move-result-wide v0

    .line 416
    .local v0, m:J
    const-string v4, ""

    .line 417
    .local v4, string:Ljava/lang/String;
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, ":"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 418
    const-wide/16 v5, 0xa

    cmp-long v5, v2, v5

    if-gez v5, :cond_0

    .line 419
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "0"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 421
    :cond_0
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 423
    return-object v4
.end method

.method private getSec(J)J
    .locals 4
    .parameter "time"

    .prologue
    .line 438
    const-wide/32 v0, 0x36ee80

    rem-long v0, p1, v0

    const-wide/32 v2, 0xea60

    rem-long/2addr v0, v2

    const-wide/16 v2, 0x3e8

    div-long/2addr v0, v2

    return-wide v0
.end method

.method private getTime(J)Ljava/lang/String;
    .locals 13
    .parameter "time"

    .prologue
    const-wide/16 v9, 0xa

    const-string v12, ":"

    const-string v11, "0"

    .line 389
    invoke-direct {p0, p1, p2}, Limoblife/yogamoment/lite/MainActivity;->getSec(J)J

    move-result-wide v4

    .line 390
    .local v4, s:J
    invoke-direct {p0, p1, p2}, Limoblife/yogamoment/lite/MainActivity;->getMin(J)J

    move-result-wide v2

    .line 391
    .local v2, m:J
    invoke-direct {p0, p1, p2}, Limoblife/yogamoment/lite/MainActivity;->gethour(J)J

    move-result-wide v0

    .line 393
    .local v0, h:J
    const-string v6, ""

    .line 395
    .local v6, string:Ljava/lang/String;
    cmp-long v7, v0, v9

    if-gez v7, :cond_0

    .line 396
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v8, "0"

    invoke-virtual {v7, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 398
    :cond_0
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ":"

    invoke-virtual {v7, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 399
    cmp-long v7, v2, v9

    if-gez v7, :cond_1

    .line 400
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v8, "0"

    invoke-virtual {v7, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 402
    :cond_1
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ":"

    invoke-virtual {v7, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 403
    cmp-long v7, v4, v9

    if-gez v7, :cond_2

    .line 404
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v8, "0"

    invoke-virtual {v7, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 406
    :cond_2
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 408
    return-object v6
.end method

.method private gethour(J)J
    .locals 2
    .parameter "time"

    .prologue
    .line 428
    const-wide/32 v0, 0x36ee80

    div-long v0, p1, v0

    return-wide v0
.end method

.method private initAppList()V
    .locals 2

    .prologue
    .line 143
    const v1, 0x7f080014

    invoke-virtual {p0, v1}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 144
    .local v0, button:Landroid/widget/Button;
    new-instance v1, Limoblife/yogamoment/lite/MainActivity$2;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$2;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 151
    return-void
.end method

.method private initAppTime()V
    .locals 7

    .prologue
    .line 325
    iget-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isSetTime:Z

    if-nez v0, :cond_0

    .line 326
    const v0, 0x7f08001c

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 327
    .local v6, mainTimerText:Landroid/widget/TextView;
    const/4 v0, 0x0

    invoke-virtual {v6, v0}, Landroid/widget/TextView;->setVisibility(I)V

    .line 328
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$8;

    invoke-direct {v0, p0, v6}, Limoblife/yogamoment/lite/MainActivity$8;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/widget/TextView;)V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->handler:Landroid/os/Handler;

    .line 337
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->timer:Ljava/util/Timer;

    .line 338
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->timer:Ljava/util/Timer;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$9;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$9;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 362
    const-wide/16 v2, 0xa

    const-wide/16 v4, 0x3e8

    .line 338
    invoke-virtual/range {v0 .. v5}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V

    .line 364
    .end local v6           #mainTimerText:Landroid/widget/TextView;
    :cond_0
    return-void
.end method

.method private initDate()V
    .locals 6

    .prologue
    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 311
    const-string v1, "YogaMoment"

    invoke-virtual {p0, v1, v4}, Limoblife/yogamoment/lite/MainActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 312
    .local v0, preferences:Landroid/content/SharedPreferences;
    const-string v1, "appRunningTime"

    const-wide/32 v2, 0x493e0

    invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J

    move-result-wide v1

    iput-wide v1, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    .line 313
    const-string v1, "isSetTime"

    invoke-interface {v0, v1, v5}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v1

    iput-boolean v1, p0, Limoblife/yogamoment/lite/MainActivity;->isSetTime:Z

    .line 314
    const-string v1, "currentMusicIndex"

    invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Limoblife/yogamoment/lite/MainActivity;->currentMusicIndex:I

    .line 315
    const-string v1, "playMode"

    invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    .line 316
    const-string v1, "volumSizes"

    const/16 v2, 0x32

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Limoblife/yogamoment/lite/MainActivity;->volumSizes:I

    .line 318
    const-string v1, "SetActivity.isAnimationPlay"

    .line 317
    invoke-interface {v0, v1, v5}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v1

    sput-boolean v1, Limoblife/yogamoment/lite/SetActivity;->isAnimationPlay:Z

    .line 319
    const-string v1, "SetActivity.timeIndex"

    invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    sput v1, Limoblife/yogamoment/lite/SetActivity;->timeIndex:I

    .line 321
    const-string v1, "SetActivity.animationModeIndex"

    .line 320
    invoke-interface {v0, v1, v5}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    sput v1, Limoblife/yogamoment/lite/SetActivity;->animationModeIndex:I

    .line 322
    return-void
.end method

.method private initModeButton()V
    .locals 4

    .prologue
    .line 174
    const v2, 0x7f08001d

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 175
    .local v0, button:Landroid/widget/LinearLayout;
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$4;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$4;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 182
    const v2, 0x7f08001e

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    .line 183
    .local v1, button_b:Landroid/widget/Button;
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$5;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$5;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 189
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget v3, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    invoke-virtual {v2, v3}, Limoblife/yogamoment/lite/PlayControl;->setMusicMode(I)V

    .line 190
    return-void
.end method

.method private initTimeCheckBox()V
    .locals 3

    .prologue
    .line 371
    const v2, 0x7f08001a

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 372
    .local v0, box:Landroid/widget/LinearLayout;
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$10;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$10;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 378
    const v2, 0x7f08001b

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    .line 379
    .local v1, box_b:Landroid/widget/Button;
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$11;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$11;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 385
    return-void
.end method

.method private initbackgroundAnimation()V
    .locals 4

    .prologue
    .line 624
    const v0, 0x7f08001f

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->modeStateTextView:Landroid/widget/TextView;

    .line 625
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->modeStateTextView:Landroid/widget/TextView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->modeNames:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 626
    const v0, 0x7f08000e

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevFrameButton:Landroid/widget/Button;

    .line 627
    const v0, 0x7f08000f

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextFrameButton:Landroid/widget/Button;

    .line 629
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevFrameButton:Landroid/widget/Button;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$16;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$16;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 638
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextFrameButton:Landroid/widget/Button;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$17;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$17;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 648
    const v0, 0x7f08000a

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ViewFlipper;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    .line 650
    const v0, 0x7f08000b

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    .line 652
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentMusicIndex:I

    .line 653
    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    array-length v3, v3

    rem-int/2addr v2, v3

    aget v1, v1, v2

    .line 652
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 655
    const v0, 0x7f08000c

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    .line 657
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentMusicIndex:I

    .line 658
    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    array-length v3, v3

    rem-int/2addr v2, v3

    aget v1, v1, v2

    .line 657
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 660
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 662
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->touchListener:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 663
    return-void
.end method

.method private initeWindowsAnimation()V
    .locals 9

    .prologue
    .line 1426
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    .line 1428
    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x0

    .line 1429
    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    .line 1430
    const/high16 v8, -0x4080

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 1426
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upOutAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1431
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upOutAnimation:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x1770

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 1432
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upOutAnimation:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$28;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$28;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1451
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x1

    .line 1452
    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x0

    .line 1453
    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    .line 1454
    const/high16 v8, 0x3f80

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 1451
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downOutAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1456
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downOutAnimation:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x1770

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 1458
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downOutAnimation:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$29;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$29;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1475
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 1476
    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    .line 1477
    const/high16 v6, -0x4080

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 1475
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upInAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1478
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upInAnimation:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x3e8

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 1480
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 1481
    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    .line 1482
    const/high16 v6, 0x3f80

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 1480
    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downInAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1483
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downInAnimation:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v1, 0x3e8

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 1484
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upOutAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1485
    const v1, 0x10a0006

    .line 1484
    invoke-virtual {v0, p0, v1}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/content/Context;I)V

    .line 1486
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downOutAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1487
    const v1, 0x10a0006

    .line 1486
    invoke-virtual {v0, p0, v1}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/content/Context;I)V

    .line 1488
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downInAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1489
    const v1, 0x10a0006

    .line 1488
    invoke-virtual {v0, p0, v1}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/content/Context;I)V

    .line 1490
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upInAnimation:Landroid/view/animation/TranslateAnimation;

    .line 1491
    const v1, 0x10a0006

    .line 1490
    invoke-virtual {v0, p0, v1}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/content/Context;I)V

    .line 1492
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upInAnimation:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$30;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$30;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1510
    return-void
.end method

.method private inithomecontack()V
    .locals 2

    .prologue
    .line 159
    const v1, 0x7f080011

    invoke-virtual {p0, v1}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 161
    .local v0, imageView:Landroid/widget/ImageView;
    new-instance v1, Limoblife/yogamoment/lite/MainActivity$3;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$3;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 170
    return-void
.end method

.method private initvolumSize(I)V
    .locals 3
    .parameter "size"

    .prologue
    .line 814
    const v2, 0x7f080010

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/SeekBar;

    .line 815
    .local v1, bar:Landroid/widget/SeekBar;
    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/SeekBar;->setThumbOffset(I)V

    .line 817
    const-string v2, "audio"

    invoke-virtual {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/media/AudioManager;

    .line 819
    .local v0, audioManager:Landroid/media/AudioManager;
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$18;

    invoke-direct {v2, p0, v0}, Limoblife/yogamoment/lite/MainActivity$18;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/media/AudioManager;)V

    invoke-virtual {v1, v2}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 843
    invoke-virtual {v1, p1}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 845
    return-void
.end method

.method private saveDate()V
    .locals 5

    .prologue
    .line 295
    const-string v1, "YogaMoment"

    const/4 v2, 0x0

    invoke-virtual {p0, v1, v2}, Limoblife/yogamoment/lite/MainActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 296
    .local v0, preferences:Landroid/content/SharedPreferences;
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "appRunningTime"

    iget-wide v3, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 297
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "isSetTime"

    iget-boolean v3, p0, Limoblife/yogamoment/lite/MainActivity;->isSetTime:Z

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 298
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "currentMusicIndex"

    .line 299
    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    invoke-virtual {v3}, Limoblife/yogamoment/lite/PlayControl;->getCurrentIndex()I

    move-result v3

    .line 298
    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 299
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 300
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "playMode"

    iget v3, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 301
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "SetActivity.animationModeIndex"

    .line 302
    sget v3, Limoblife/yogamoment/lite/SetActivity;->animationModeIndex:I

    .line 301
    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 302
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 303
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "SetActivity.timeIndex"

    .line 304
    sget v3, Limoblife/yogamoment/lite/SetActivity;->timeIndex:I

    .line 303
    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 304
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 305
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "SetActivity.isAnimationPlay"

    .line 306
    sget-boolean v3, Limoblife/yogamoment/lite/SetActivity;->isAnimationPlay:Z

    .line 305
    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 306
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 307
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "volumSizes"

    iget v3, p0, Limoblife/yogamoment/lite/MainActivity;->volumSizes:I

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 308
    return-void
.end method

.method private setMusicMode()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 1057
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    if-eqz v0, :cond_0

    .line 1058
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    packed-switch v0, :pswitch_data_0

    .line 1083
    :cond_0
    :goto_0
    return-void

    .line 1060
    :pswitch_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->setLooping(Z)V

    goto :goto_0

    .line 1064
    :pswitch_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->setLooping(Z)V

    goto :goto_0

    .line 1067
    :pswitch_2
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->setLooping(Z)V

    goto :goto_0

    .line 1071
    :pswitch_3
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->setLooping(Z)V

    goto :goto_0

    .line 1075
    :pswitch_4
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentMediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->setLooping(Z)V

    goto :goto_0

    .line 1058
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method private showAppListWindows()V
    .locals 13

    .prologue
    .line 1358
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->bigString:[Ljava/lang/String;

    if-nez v1, :cond_0

    .line 1359
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f070001

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->bigString:[Ljava/lang/String;

    .line 1360
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    .line 1361
    const v2, 0x7f070002

    .line 1360
    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->smallString:[Ljava/lang/String;

    .line 1362
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f070003

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->uriStrings:[Ljava/lang/String;

    .line 1365
    :cond_0
    new-instance v7, Landroid/app/Dialog;

    const v1, 0x103005a

    invoke-direct {v7, p0, v1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 1366
    .local v7, dialog:Landroid/app/Dialog;
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v10

    .line 1367
    .local v10, inflater:Landroid/view/LayoutInflater;
    const/high16 v1, 0x7f03

    const/4 v2, 0x0

    invoke-virtual {v10, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v12

    .line 1368
    .local v12, view:Landroid/view/View;
    invoke-virtual {v7, v12}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 1369
    const/high16 v1, 0x7f08

    invoke-virtual {v7, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/ListView;

    .line 1370
    .local v11, listView:Landroid/widget/ListView;
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 1371
    .local v2, arrayList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const/4 v9, 0x0

    .local v9, i:I
    :goto_0
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->images:[I

    array-length v1, v1

    if-lt v9, v1, :cond_1

    .line 1380
    new-instance v0, Landroid/widget/SimpleAdapter;

    .line 1381
    const v3, 0x7f030003

    .line 1383
    const/4 v1, 0x3

    new-array v4, v1, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v5, "ItemImage"

    aput-object v5, v4, v1

    const/4 v1, 0x1

    const-string v5, "ItemTitle"

    aput-object v5, v4, v1

    const/4 v1, 0x2

    const-string v5, "ItemText"

    aput-object v5, v4, v1

    .line 1385
    const/4 v1, 0x3

    new-array v5, v1, [I

    fill-array-data v5, :array_0

    move-object v1, p0

    .line 1380
    invoke-direct/range {v0 .. v5}, Landroid/widget/SimpleAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[I)V

    .line 1386
    .local v0, listItemAdapter:Landroid/widget/SimpleAdapter;
    invoke-virtual {v11, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 1388
    const/4 v1, 0x0

    invoke-virtual {v11, v1}, Landroid/widget/ListView;->setFocusable(Z)V

    .line 1390
    new-instance v1, Limoblife/yogamoment/lite/MainActivity$26;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$26;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v11, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 1402
    const v1, 0x7f080001

    invoke-virtual {v7, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    .line 1404
    .local v6, button:Landroid/widget/Button;
    new-instance v1, Limoblife/yogamoment/lite/MainActivity$27;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$27;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v6, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1413
    invoke-virtual {v7}, Landroid/app/Dialog;->show()V

    .line 1414
    return-void

    .line 1373
    .end local v0           #listItemAdapter:Landroid/widget/SimpleAdapter;
    .end local v6           #button:Landroid/widget/Button;
    :cond_1
    new-instance v8, Ljava/util/HashMap;

    invoke-direct {v8}, Ljava/util/HashMap;-><init>()V

    .line 1375
    .local v8, hashMap:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v1, "ItemImage"

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->images:[I

    aget v3, v3, v9

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v8, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1376
    const-string v1, "ItemTitle"

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->bigString:[Ljava/lang/String;

    aget-object v3, v3, v9

    invoke-virtual {v8, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1377
    const-string v1, "ItemText"

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->smallString:[Ljava/lang/String;

    aget-object v3, v3, v9

    invoke-virtual {v8, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1378
    invoke-virtual {v2, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1371
    add-int/lit8 v9, v9, 0x1

    goto :goto_0

    .line 1385
    nop

    :array_0
    .array-data 0x4
        0x7t 0x0t 0x8t 0x7ft
        0x8t 0x0t 0x8t 0x7ft
        0x9t 0x0t 0x8t 0x7ft
    .end array-data
.end method

.method private showCurrentMusicView()V
    .locals 0

    .prologue
    .line 621
    return-void
.end method

.method private showDefaultNextView()V
    .locals 3

    .prologue
    .line 699
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    array-length v1, v1

    if-ne v0, v1, :cond_0

    .line 700
    const/4 v0, 0x0

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    .line 703
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->inFromRightAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 704
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->outToLeftAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 706
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    if-ne v0, v1, :cond_1

    .line 707
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 708
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 709
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 716
    :goto_0
    return-void

    .line 712
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 713
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

    .line 714
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    goto :goto_0
.end method

.method private showDefaultPrevView()V
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 737
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    sub-int/2addr v0, v2

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_0

    .line 738
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    array-length v0, v0

    sub-int/2addr v0, v2

    iput v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    .line 741
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->inFromLeftAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 742
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->outToRightAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 744
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    if-ne v0, v1, :cond_1

    .line 745
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 746
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 747
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 754
    :goto_0
    return-void

    .line 749
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    iget v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentBackgroundIndex:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 750
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

    .line 751
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    goto :goto_0
.end method

.method private showExitWindows()V
    .locals 8

    .prologue
    .line 1087
    new-instance v2, Landroid/app/Dialog;

    const v5, 0x103000b

    invoke-direct {v2, p0, v5}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 1088
    .local v2, dialog:Landroid/app/Dialog;
    invoke-virtual {v2}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v5

    .line 1089
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x7f020014

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v6

    .line 1088
    invoke-virtual {v5, v6}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 1091
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    .line 1093
    .local v3, inflater:Landroid/view/LayoutInflater;
    const v5, 0x7f030001

    const/4 v6, 0x0

    invoke-virtual {v3, v5, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 1094
    .local v4, view:Landroid/view/View;
    invoke-virtual {v2}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v5

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Landroid/view/Window;->requestFeature(I)Z

    .line 1096
    invoke-virtual {v2, v4}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 1098
    const v5, 0x7f080002

    invoke-virtual {v2, v5}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    .line 1099
    .local v1, buttonYes:Landroid/widget/Button;
    new-instance v5, Limoblife/yogamoment/lite/MainActivity$19;

    invoke-direct {v5, p0, v2}, Limoblife/yogamoment/lite/MainActivity$19;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/app/Dialog;)V

    invoke-virtual {v1, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1107
    const v5, 0x7f080003

    invoke-virtual {v2, v5}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 1109
    .local v0, buttonNo:Landroid/widget/Button;
    new-instance v5, Limoblife/yogamoment/lite/MainActivity$20;

    invoke-direct {v5, p0, v2}, Limoblife/yogamoment/lite/MainActivity$20;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/app/Dialog;)V

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1117
    invoke-virtual {v2}, Landroid/app/Dialog;->show()V

    .line 1118
    return-void
.end method

.method private showFadeInOut()V
    .locals 5

    .prologue
    const-wide/16 v3, 0x2bc

    .line 790
    .line 791
    const v2, 0x10a0001

    .line 790
    invoke-static {p0, v2}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v1

    .line 792
    .local v1, out:Landroid/view/animation/Animation;
    invoke-virtual {v1, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 795
    const/high16 v2, 0x10a

    .line 794
    invoke-static {p0, v2}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    .line 796
    .local v0, in:Landroid/view/animation/Animation;
    invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 798
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v2, v0}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 800
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v2, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 802
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    if-ne v2, v3, :cond_0

    .line 803
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v4

    aget v3, v3, v4

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 804
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v2}, Landroid/widget/ViewFlipper;->showNext()V

    .line 805
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iput-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 811
    :goto_0
    return-void

    .line 807
    :cond_0
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v3, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v4

    aget v3, v3, v4

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 808
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v2}, Landroid/widget/ViewFlipper;->showPrevious()V

    .line 809
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    goto :goto_0
.end method

.method private showModeListWindows()V
    .locals 14

    .prologue
    const/4 v13, 0x4

    const/4 v12, 0x3

    const/4 v11, 0x2

    const/4 v10, 0x1

    const/4 v9, 0x0

    .line 203
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    .line 205
    .local v3, inflater:Landroid/view/LayoutInflater;
    const v7, 0x7f030005

    const/4 v8, 0x0

    invoke-virtual {v3, v7, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v6

    .line 206
    .local v6, view:Landroid/view/View;
    new-instance v1, Landroid/app/Dialog;

    const v7, 0x103000b

    invoke-direct {v1, p0, v7}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 207
    .local v1, dialog:Landroid/app/Dialog;
    invoke-virtual {v1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v7

    .line 208
    const v8, 0x7f02005b

    .line 207
    invoke-virtual {v7, v8}, Landroid/view/Window;->setBackgroundDrawableResource(I)V

    .line 209
    invoke-virtual {v1, v10}, Landroid/app/Dialog;->requestWindowFeature(I)Z

    .line 210
    invoke-virtual {v1, v6}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 212
    const/4 v7, 0x5

    new-array v4, v7, [Landroid/widget/LinearLayout;

    .line 214
    .local v4, layouts:[Landroid/widget/LinearLayout;
    const v7, 0x7f080022

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    aput-object v7, v4, v9

    .line 215
    const v7, 0x7f080025

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    aput-object v7, v4, v10

    .line 216
    const v7, 0x7f080028

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    aput-object v7, v4, v11

    .line 217
    const v7, 0x7f08002b

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    aput-object v7, v4, v12

    .line 218
    const v7, 0x7f08002e

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    aput-object v7, v4, v13

    .line 220
    const/4 v7, 0x5

    new-array v2, v7, [Landroid/widget/ImageView;

    .line 222
    .local v2, imageViews:[Landroid/widget/ImageView;
    const v7, 0x7f080023

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    aput-object v7, v2, v9

    .line 223
    const v7, 0x7f080026

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    aput-object v7, v2, v10

    .line 224
    const v7, 0x7f080029

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    aput-object v7, v2, v11

    .line 225
    const v7, 0x7f08002c

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    aput-object v7, v2, v12

    .line 226
    const v7, 0x7f08002f

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    aput-object v7, v2, v13

    .line 228
    const/4 v7, 0x5

    new-array v5, v7, [Landroid/widget/TextView;

    .line 230
    .local v5, textViews:[Landroid/widget/TextView;
    const v7, 0x7f080024

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    aput-object v7, v5, v9

    .line 231
    const v7, 0x7f080027

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    aput-object v7, v5, v10

    .line 232
    const v7, 0x7f08002a

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    aput-object v7, v5, v11

    .line 233
    const v7, 0x7f08002d

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    aput-object v7, v5, v12

    .line 234
    const v7, 0x7f080030

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    aput-object v7, v5, v13

    .line 236
    iput v9, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    .line 237
    :goto_0
    iget v7, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    array-length v8, v4

    if-lt v7, v8, :cond_0

    .line 264
    iput v9, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    .line 266
    iget v7, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    aget-object v7, v2, v7

    iget-object v8, p0, Limoblife/yogamoment/lite/MainActivity;->is:[[I

    aget-object v8, v8, v10

    iget v9, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    aget v8, v8, v9

    invoke-virtual {v7, v8}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 267
    iget v7, p0, Limoblife/yogamoment/lite/MainActivity;->playMode:I

    aget-object v7, v5, v7

    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    .line 268
    const v9, 0x7f020061

    invoke-virtual {v8, v9}, Landroid/content/res/Resources;->getColor(I)I

    move-result v8

    .line 267
    invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V

    .line 270
    const v7, 0x7f080031

    invoke-virtual {v1, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 271
    .local v0, button:Landroid/widget/Button;
    new-instance v7, Limoblife/yogamoment/lite/MainActivity$7;

    invoke-direct {v7, p0, v1}, Limoblife/yogamoment/lite/MainActivity$7;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/app/Dialog;)V

    invoke-virtual {v0, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 278
    invoke-virtual {v1}, Landroid/app/Dialog;->show()V

    .line 280
    return-void

    .line 238
    .end local v0           #button:Landroid/widget/Button;
    :cond_0
    iget v7, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    aget-object v7, v4, v7

    new-instance v8, Limoblife/yogamoment/lite/MainActivity$6;

    invoke-direct {v8, p0, v2, v5}, Limoblife/yogamoment/lite/MainActivity$6;-><init>(Limoblife/yogamoment/lite/MainActivity;[Landroid/widget/ImageView;[Landroid/widget/TextView;)V

    invoke-virtual {v7, v8}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 237
    iget v7, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    add-int/lit8 v7, v7, 0x1

    iput v7, p0, Limoblife/yogamoment/lite/MainActivity;->i:I

    goto :goto_0
.end method

.method private showNextView()V
    .locals 3

    .prologue
    .line 720
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->inFromRightAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 721
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->outToLeftAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 723
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    if-ne v0, v1, :cond_0

    .line 724
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v2

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 725
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 726
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 734
    :goto_0
    return-void

    .line 729
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v2

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 730
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

    .line 731
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    goto :goto_0
.end method

.method private showPrvView()V
    .locals 3

    .prologue
    .line 758
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->inFromLeftAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 759
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-static {}, Limoblife/yogamoment/lite/Animatoines;->outToRightAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 761
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    if-ne v0, v1, :cond_0

    .line 762
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v2

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 763
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 764
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->nextImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    .line 771
    :goto_0
    return-void

    .line 766
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->backgrounds:[I

    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->getNextBackground()I

    move-result v2

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 767
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->flipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

    .line 768
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevImageView:Landroid/widget/ImageView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->currentImageView:Landroid/widget/ImageView;

    goto :goto_0
.end method

.method private showTimeWindows()V
    .locals 12

    .prologue
    .line 445
    const v0, 0x7f08001c

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 446
    .local v6, mainTimerText:Landroid/widget/TextView;
    new-instance v8, Landroid/app/Dialog;

    .line 447
    const v0, 0x103000b

    .line 446
    invoke-direct {v8, p0, v0}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 448
    .local v8, dialog:Landroid/app/Dialog;
    invoke-virtual {v8}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    .line 449
    const v1, 0x7f02005b

    .line 448
    invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawableResource(I)V

    .line 450
    const/4 v0, 0x1

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->requestWindowFeature(I)Z

    .line 452
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v9

    .line 454
    .local v9, inflater:Landroid/view/LayoutInflater;
    const v0, 0x7f030009

    const/4 v1, 0x0

    invoke-virtual {v9, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v11

    .line 456
    .local v11, view:Landroid/view/View;
    invoke-virtual {v8, v11}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 458
    const v0, 0x7f08003b

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v10

    .line 457
    check-cast v10, Landroid/widget/TimePicker;

    .line 459
    .local v10, timePicker:Landroid/widget/TimePicker;
    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v10, v0}, Landroid/widget/TimePicker;->setIs24HourView(Ljava/lang/Boolean;)V

    .line 462
    const v0, 0x7f08003c

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 461
    check-cast v2, Landroid/widget/Button;

    .line 465
    .local v2, setTimeButton:Landroid/widget/Button;
    const v0, 0x7f08003a

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v4

    .line 464
    check-cast v4, Landroid/widget/LinearLayout;

    .line 468
    .local v4, timeLayout:Landroid/widget/LinearLayout;
    const v0, 0x7f08001c

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v3

    .line 467
    check-cast v3, Landroid/widget/TextView;

    .line 471
    .local v3, timetextTextView:Landroid/widget/TextView;
    const v0, 0x7f08003b

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v5

    .line 470
    check-cast v5, Landroid/widget/TimePicker;

    .line 473
    .local v5, time:Landroid/widget/TimePicker;
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$12;

    move-object v1, p0

    invoke-direct/range {v0 .. v6}, Limoblife/yogamoment/lite/MainActivity$12;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/widget/Button;Landroid/widget/TextView;Landroid/widget/LinearLayout;Landroid/widget/TimePicker;Landroid/widget/TextView;)V

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 550
    iget-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isSetTime:Z

    if-eqz v0, :cond_0

    .line 551
    const v0, 0x7f050010

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setText(I)V

    .line 552
    const v0, 0x7f020057

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 553
    const/16 v0, 0x8

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setVisibility(I)V

    .line 554
    const/4 v0, 0x0

    invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 555
    const v0, 0x7f050023

    invoke-virtual {v6, v0}, Landroid/widget/TextView;->setText(I)V

    .line 577
    :goto_0
    iget-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    invoke-direct {p0, v0, v1}, Limoblife/yogamoment/lite/MainActivity;->gethour(J)J

    move-result-wide v0

    long-to-int v0, v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v5, v0}, Landroid/widget/TimePicker;->setCurrentHour(Ljava/lang/Integer;)V

    .line 578
    iget-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    invoke-direct {p0, v0, v1}, Limoblife/yogamoment/lite/MainActivity;->getMin(J)J

    move-result-wide v0

    long-to-int v0, v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v5, v0}, Landroid/widget/TimePicker;->setCurrentMinute(Ljava/lang/Integer;)V

    .line 579
    const v0, 0x7f08003d

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/Button;

    .line 581
    .local v7, button:Landroid/widget/Button;
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$14;

    invoke-direct {v0, p0, v8}, Limoblife/yogamoment/lite/MainActivity$14;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/app/Dialog;)V

    invoke-virtual {v7, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 589
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$15;

    invoke-direct {v0, p0}, Limoblife/yogamoment/lite/MainActivity$15;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v8, v0}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 595
    invoke-virtual {v8}, Landroid/app/Dialog;->show()V

    .line 597
    return-void

    .line 558
    .end local v7           #button:Landroid/widget/Button;
    :cond_0
    const v0, 0x7f020058

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 559
    const/4 v0, 0x0

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setVisibility(I)V

    .line 560
    iget-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->appRunningTime:J

    invoke-direct {p0, v0, v1}, Limoblife/yogamoment/lite/MainActivity;->getTime(J)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 561
    invoke-virtual {v3}, Landroid/widget/TextView;->invalidate()V

    .line 562
    const/4 v0, 0x4

    invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 563
    const v0, 0x7f05000f

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setText(I)V

    .line 564
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$13;

    invoke-direct {v0, p0, v3, v6}, Limoblife/yogamoment/lite/MainActivity$13;-><init>(Limoblife/yogamoment/lite/MainActivity;Landroid/widget/TextView;Landroid/widget/TextView;)V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->handler:Landroid/os/Handler;

    goto :goto_0
.end method

.method private showUpAndDownWindows()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 1515
    sget-boolean v0, Limoblife/yogamoment/lite/MainActivity;->$assertionsDisabled:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    .line 1516
    :cond_0
    sget-boolean v0, Limoblife/yogamoment/lite/MainActivity;->$assertionsDisabled:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    if-nez v0, :cond_1

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    .line 1517
    :cond_1
    iput v2, p0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    .line 1518
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 1519
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->upView:Landroid/view/View;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->upInAnimation:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1520
    const/4 v0, 0x1

    iput-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    .line 1521
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 1522
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->downView:Landroid/view/View;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->downInAnimation:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1523
    return-void
.end method

.method private startCurrentMusic()V
    .locals 2

    .prologue
    .line 154
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->homePlayBox:Landroid/widget/CheckBox;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 155
    return-void
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2
    .parameter "ev"

    .prologue
    .line 101
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevSystemTime:J

    .line 103
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 122
    :goto_0
    invoke-super {p0, p1}, Landroid/app/Activity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0

    .line 106
    :pswitch_0
    iget-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    if-nez v0, :cond_0

    .line 108
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showUpAndDownWindows()V

    .line 111
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    goto :goto_0

    .line 116
    :pswitch_1
    const/4 v0, 0x1

    iput-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    goto :goto_0

    .line 103
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public displayUpdateInfo()V
    .locals 3

    .prologue
    .line 1542
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f050033

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1543
    const v1, 0x7f050032

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1544
    const v1, 0x7f050031

    .line 1545
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$31;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$31;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1543
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1553
    const v1, 0x7f05002e

    .line 1554
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$32;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$32;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1553
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1558
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 1560
    return-void
.end method

.method public finish()V
    .locals 1

    .prologue
    .line 284
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    invoke-virtual {v0}, Limoblife/yogamoment/lite/PlayControl;->isMusicNameViewVisble()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 286
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    invoke-virtual {v0}, Limoblife/yogamoment/lite/PlayControl;->closeMusicNameWindows()V

    .line 292
    :goto_0
    return-void

    .line 289
    :cond_0
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->showExitWindows()V

    goto :goto_0
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter "savedInstanceState"

    .prologue
    const/16 v1, 0x400

    .line 67
    const v0, 0x7f05000d

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->setTitle(I)V

    .line 68
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 69
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->requestWindowFeature(I)Z

    .line 70
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    .line 72
    const v0, 0x7f030004

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->setContentView(I)V

    .line 74
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initDate()V

    .line 76
    new-instance v0, Limoblife/yogamoment/lite/PlayControl;

    invoke-direct {v0, p0}, Limoblife/yogamoment/lite/PlayControl;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    .line 77
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget v1, p0, Limoblife/yogamoment/lite/MainActivity;->currentMusicIndex:I

    invoke-virtual {v0, v1}, Limoblife/yogamoment/lite/PlayControl;->setCurrentIndex(I)V

    .line 79
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initTimeCheckBox()V

    .line 81
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initbackgroundAnimation()V

    .line 83
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initModeButton()V

    .line 85
    iget v0, p0, Limoblife/yogamoment/lite/MainActivity;->volumSizes:I

    invoke-direct {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->initvolumSize(I)V

    .line 87
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initAppTime()V

    .line 89
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->inithomecontack()V

    .line 91
    invoke-direct {p0}, Limoblife/yogamoment/lite/MainActivity;->initAppList()V

    .line 92
    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .locals 4
    .parameter "menu"

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 1137
    const/16 v0, 0xa

    const v1, 0x7f050031

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    .line 1138
    const v1, 0x1080055

    .line 1137
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 1138
    const/16 v1, 0x53

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setAlphabeticShortcut(C)Landroid/view/MenuItem;

    .line 1140
    const/16 v0, 0x9

    const v1, 0x7f050022

    invoke-interface {p1, v3, v0, v2, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    .line 1141
    const v1, 0x1080042

    .line 1140
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 1141
    const/16 v1, 0x42

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setAlphabeticShortcut(C)Landroid/view/MenuItem;

    .line 1142
    const/16 v0, 0x8

    const v1, 0x7f050021

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    .line 1143
    const v1, 0x108003f

    .line 1142
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 1143
    const/16 v1, 0x4d

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setAlphabeticShortcut(C)Landroid/view/MenuItem;

    .line 1144
    const/4 v0, 0x5

    const v1, 0x7f05001c

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    .line 1145
    const v1, 0x1080040

    .line 1144
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 1145
    const/16 v1, 0x47

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setAlphabeticShortcut(C)Landroid/view/MenuItem;

    .line 1146
    const/16 v0, 0xb

    const v1, 0x7f05002d

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    .line 1147
    const v1, 0x1080049

    .line 1146
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 1148
    const/16 v1, 0x43

    .line 1147
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setAlphabeticShortcut(C)Landroid/view/MenuItem;

    .line 1150
    return v3
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 3
    .parameter "item"

    .prologue
    .line 1154
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 1191
    :goto_0
    :pswitch_0
    const/4 v0, 0x1

    return v0

    .line 1157
    :pswitch_1
    invoke-virtual {p0}, Limoblife/yogamoment/lite/MainActivity;->displayUpdateInfo()V

    goto :goto_0

    .line 1161
    :pswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Limoblife/yogamoment/lite/SetActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 1164
    :pswitch_3
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f05001c

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1165
    const v1, 0x7f05001d

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1166
    const v1, 0x7f05001e

    .line 1167
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$21;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$21;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1165
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1175
    const v1, 0x7f05001f

    .line 1176
    new-instance v2, Limoblife/yogamoment/lite/MainActivity$22;

    invoke-direct {v2, p0}, Limoblife/yogamoment/lite/MainActivity$22;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1175
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1180
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0

    .line 1183
    :pswitch_4
    new-instance v0, Landroid/content/Intent;

    const-class v1, Limoblife/applist/AppListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 1187
    :pswitch_5
    invoke-static {p0}, Limoblife/applist/AppListActivity;->checkNewVersion(Landroid/content/Context;)V

    goto :goto_0

    .line 1154
    :pswitch_data_0
    .packed-switch 0x5
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_4
        :pswitch_5
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public onWindowFocusChanged(Z)V
    .locals 2
    .parameter "hasFocus"

    .prologue
    .line 128
    iget-boolean v0, p0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    if-eqz v0, :cond_0

    .line 129
    iput-boolean p1, p0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    .line 132
    :cond_0
    if-eqz p1, :cond_1

    .line 134
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Limoblife/yogamoment/lite/MainActivity;->prevSystemTime:J

    .line 138
    :cond_1
    invoke-super {p0, p1}, Landroid/app/Activity;->onWindowFocusChanged(Z)V

    .line 139
    return-void
.end method

.method public reSetProgress()V
    .locals 2

    .prologue
    .line 1342
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->leftTextView:Landroid/widget/TextView;

    const-string v1, "00:00"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1343
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->rightTextView:Landroid/widget/TextView;

    const-string v1, "--:--"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1344
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 1345
    return-void
.end method

.method public updateMusicPross()V
    .locals 9

    .prologue
    const/4 v7, 0x0

    const-string v8, "-"

    const-string v3, "d"

    .line 1205
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    if-nez v0, :cond_0

    .line 1206
    const-string v0, "d"

    const-string v0, "musicPross == null"

    invoke-static {v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1207
    const v0, 0x7f080017

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->leftTextView:Landroid/widget/TextView;

    .line 1208
    const v0, 0x7f080019

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->rightTextView:Landroid/widget/TextView;

    .line 1209
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->leftTextView:Landroid/widget/TextView;

    invoke-direct {p0, v7}, Limoblife/yogamoment/lite/MainActivity;->getPlayTime(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1210
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->rightTextView:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "-"

    invoke-direct {v1, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 1211
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget-object v2, v2, Limoblife/yogamoment/lite/PlayControl;->mediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v2}, Landroid/media/MediaPlayer;->getDuration()I

    move-result v2

    invoke-direct {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->getPlayTime(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1210
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1212
    const v0, 0x7f080018

    invoke-virtual {p0, v0}, Limoblife/yogamoment/lite/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    .line 1213
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    invoke-virtual {v0, v7}, Landroid/widget/SeekBar;->setThumbOffset(I)V

    .line 1214
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    .line 1215
    new-instance v1, Limoblife/yogamoment/lite/MainActivity$23;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$23;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 1256
    :cond_0
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateProgessHandler:Landroid/os/Handler;

    if-nez v0, :cond_1

    .line 1257
    const-string v0, "d"

    const-string v0, "updateProgessHandler == null"

    invoke-static {v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1258
    new-instance v0, Limoblife/yogamoment/lite/MainActivity$24;

    invoke-direct {v0, p0}, Limoblife/yogamoment/lite/MainActivity$24;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateProgessHandler:Landroid/os/Handler;

    .line 1291
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateMusicProssTimer:Ljava/util/Timer;

    if-nez v0, :cond_2

    .line 1292
    const-string v0, "d"

    const-string v0, "updateMusicProssTimer == null"

    invoke-static {v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1293
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateMusicProssTimer:Ljava/util/Timer;

    .line 1294
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->updateMusicProssTimer:Ljava/util/Timer;

    new-instance v1, Limoblife/yogamoment/lite/MainActivity$25;

    invoke-direct {v1, p0}, Limoblife/yogamoment/lite/MainActivity$25;-><init>(Limoblife/yogamoment/lite/MainActivity;)V

    .line 1325
    const-wide/16 v2, 0xa

    const-wide/16 v4, 0x5dc

    .line 1294
    invoke-virtual/range {v0 .. v5}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V

    .line 1328
    :cond_2
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->musicPross:Landroid/widget/SeekBar;

    invoke-virtual {v0, v7}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 1329
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->mediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->getDuration()I

    move-result v6

    .line 1331
    .local v6, mMax:I
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->leftTextView:Landroid/widget/TextView;

    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget-object v1, v1, Limoblife/yogamoment/lite/PlayControl;->mediaPlayer:Landroid/media/MediaPlayer;

    .line 1332
    invoke-virtual {v1}, Landroid/media/MediaPlayer;->getCurrentPosition()I

    move-result v1

    .line 1331
    invoke-direct {p0, v1}, Limoblife/yogamoment/lite/MainActivity;->getPlayTime(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1333
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity;->rightTextView:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "-"

    invoke-direct {v1, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 1334
    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity;->playControl:Limoblife/yogamoment/lite/PlayControl;

    iget-object v2, v2, Limoblife/yogamoment/lite/PlayControl;->mediaPlayer:Landroid/media/MediaPlayer;

    .line 1335
    invoke-virtual {v2}, Landroid/media/MediaPlayer;->getCurrentPosition()I

    move-result v2

    sub-int v2, v6, v2

    .line 1334
    invoke-direct {p0, v2}, Limoblife/yogamoment/lite/MainActivity;->getPlayTime(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1333
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1338
    return-void
.end method
